[INFO] cloning repository https://github.com/pixlark/rust-2048
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pixlark/rust-2048" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5c4cad366c974d5471e6db2a1b727b8c9133b342
[INFO] testing pixlark/rust-2048 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pixlark/rust-2048 on toolchain b70888601af92f6cdc0364abab3446e418b91d36
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/pixlark/rust-2048
[INFO] finished tweaking git repo https://github.com/pixlark/rust-2048
[INFO] tweaked toml for git repo https://github.com/pixlark/rust-2048 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/pixlark/rust-2048 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c027dba138db6ebde5c9c6385b8418fd5886d32a9c5bc61c95b7aa9645f7edd3
[INFO] running `Command { std: "docker" "start" "-a" "c027dba138db6ebde5c9c6385b8418fd5886d32a9c5bc61c95b7aa9645f7edd3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c027dba138db6ebde5c9c6385b8418fd5886d32a9c5bc61c95b7aa9645f7edd3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c027dba138db6ebde5c9c6385b8418fd5886d32a9c5bc61c95b7aa9645f7edd3", kill_on_drop: false }`
[INFO] [stdout] c027dba138db6ebde5c9c6385b8418fd5886d32a9c5bc61c95b7aa9645f7edd3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ad7bf7e9067b6bbd200c984998bf49748f3441ba8a9fab0dfddae8d8563d4344
[INFO] running `Command { std: "docker" "start" "-a" "ad7bf7e9067b6bbd200c984998bf49748f3441ba8a9fab0dfddae8d8563d4344", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling rand_core v0.3.0
[INFO] [stderr]    Compiling libc v0.2.44
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling game-2048 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling lazy_static v1.2.0
[INFO] [stderr]    Compiling sdl2-sys v0.31.0
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rand v0.4.3
[INFO] [stderr]    Compiling rand_chacha v0.1.0
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling rand v0.6.1
[INFO] [stderr]    Compiling rand v0.3.22
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling sdl2 v0.31.0
[INFO] [stdout] warning: unused import: `sdl2::video::WindowContext`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use sdl2::video::WindowContext;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `v2` should have an upper camel case name
[INFO] [stdout]   --> src/main.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct v2 {
[INFO] [stdout]    |        ^^ help: convert the identifier to upper camel case (notice the capitalization): `V2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `rand::Rng::choose`: use SliceRandom::choose instead
[INFO] [stdout]    --> src/main.rs:267:32
[INFO] [stdout]     |
[INFO] [stdout] 267 |         let choice: u64 = *rng.choose(&[2, 4]).unwrap();
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state_stack`
[INFO] [stdout]    --> src/main.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let mut state_stack: Vec<Box<dyn GameState>> = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_stack`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:321:9
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let mut state_stack: Vec<Box<dyn GameState>> = Vec::new();
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_fitness`
[INFO] [stdout]    --> src/main.rs:270:8
[INFO] [stdout]     |
[INFO] [stdout] 270 |     fn get_fitness(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `PlayingState`
[INFO] [stdout]    --> src/main.rs:301:8
[INFO] [stdout]     |
[INFO] [stdout] 301 | struct PlayingState {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `color_map` should have an upper case name
[INFO] [stdout]   --> src/main.rs:27:16
[INFO] [stdout]    |
[INFO] [stdout] 27 |     static ref color_map: HashMap<u64, Color> = {
[INFO] [stdout]    |                ^^^^^^^^^ help: convert the identifier to upper case: `COLOR_MAP`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:159:21
[INFO] [stdout]     |
[INFO] [stdout] 159 | /                     canvas.copy(
[INFO] [stdout] 160 | |                         &texture,
[INFO] [stdout] 161 | |                         None,
[INFO] [stdout] 162 | |                         Some(Rect::new(
[INFO] [stdout] ...   |
[INFO] [stdout] 167 | |                         )),
[INFO] [stdout] 168 | |                     );
[INFO] [stdout]     | |______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.game_2048.f7c3cde2-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623.2vq7e9rvyu3t0y7n.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblazy_static-c9a377f868a21fa8.rlib" "/opt/rustwide/target/debug/deps/libsdl2-ab5c7e4c3cc481e5.rlib" "/opt/rustwide/target/debug/deps/librand-aa6a42e01e2bd6aa.rlib" "/opt/rustwide/target/debug/deps/librand-1a92d9c4a9b9c0bf.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-a67721233cc4852b.rlib" "/opt/rustwide/target/debug/deps/libbitflags-80053f417b3b3269.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e7ca4d0d8274d779.rlib" "/opt/rustwide/target/debug/deps/libnum-a64921edb5c7213e.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-b5a90f8942b2f573.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-c86ff70ebcf01844.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-bf28edad26a0550e.rlib" "/opt/rustwide/target/debug/deps/librand-d8bc5230e0d64d83.rlib" "/opt/rustwide/target/debug/deps/liblibc-74da5a9f9d2078bb.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-b9fbf0e52d983d6b.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-49f9b6af068ce343.rlib" "/opt/rustwide/target/debug/deps/librand_hc-ae67eab7dca2bdd1.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-ccfedb9973624196.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-d638a9c1fcc01315.rlib" "/opt/rustwide/target/debug/deps/librand_core-f92309a95db5cdc5.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9c44f1fe63de3edb.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5dfdbb680ac299a1.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-353beaf877db2fdf.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-cd4abd33332d2d3f.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3b908b5b50ddd80c.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9cafd3521b5532d3.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-7b0935832903a9ac.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-8a349b13d67c76e3.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-9d41e7cb09eafd8e.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-095194fedb4c0ec4.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-968cf83f088269ec.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e63bbb95a6beff5c.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9f216e67c2916fa5.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-4688b763605c6a0e.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a9b2dc3244289321.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-003d83a588984e1f.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/game_2048-8d66e4dea8572623" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lSDL2_ttf
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `game-2048` due to 2 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ad7bf7e9067b6bbd200c984998bf49748f3441ba8a9fab0dfddae8d8563d4344", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad7bf7e9067b6bbd200c984998bf49748f3441ba8a9fab0dfddae8d8563d4344", kill_on_drop: false }`
[INFO] [stdout] ad7bf7e9067b6bbd200c984998bf49748f3441ba8a9fab0dfddae8d8563d4344
